Salesforce UX API icon

Salesforce UX API

(0 reviews)

TMF622- ListProductOrder-Aria

This operation get the plan instance information from Aria (Billing System) by using plan instance id

URL
https://[localhost]:[port]/sfdc-ux/v1/{businessId}/productOrder
url Param
nametypedescriptionrequired
businessIdstring2 letter ISO 3166 country code (TT, BB, JM, PA, PR etc.) identifying the business unit.
Expected one is "PR"-Puerto Rico
Y
namevaluedescriptionrequired
client_idstringThe client_id identifying the channel.Y
client_secretstringPassword associated with the client_id.Y
X-Correlation-IDstringIdentifier that correlates HTTP request between a client and server.
Any identification model (UUDI, checksum, etc.) can be used, as long as it is a unique value to differentiate a transaction.
Y
channelIdstringThe sourceY
targetSystemStringThis describes the end system request is for Eg: โ€œAsurionโ€.
Note - For Peacock Mobile Project, it's mandatory
Y
Query Param
nametypedescriptionrequired
productOrderItem.product.idStringThe client defined ID of the plan instanceN

Note - To work this functionality the queryParams.productOrderItem.product.id should be expected one.

Request
curl --location 'https://nonprod.esb.cloud.lla.com/dev/sfdc-ux/sfdc-ux/v1/PR/productOrder?productOrderItem.product.id=8024X00000CFsRbQAL' \
--header 'X-Correlation-Id: 644e1dd7-2a7f-18fb681143258' \
--header 'channelId: SFDC-B2C' \
--header 'targetSystem: ARIA' \
--header 'client_id: 784c9a6dd7ae49768816cab57fcf1fa1' \
--header 'client_secret: 187b259EB77441babbF611d2646C670d'
Possible response success

This section defines all the possible data structures received by the client and that must be considered satisfactory at the time of responding to the method.

[ 200 ]

OK - listProduct request processed successfully, response body contains an entity corresponding to the requested resource.

{
    "relatedParty": [
        {
            "id": "23519213-23519143",
            "@type": "AccountRef"
        }
    ],
    "@type": "ProductOrder",
    "productOrderItem": [
        {
            "id": "6078",
            "@type": "Plan",
            "quantity": 1,
            "product": {
                "id": "8024X00000CFsRbQAL",
                "description": "Generic Device",
                "name": "LLA_General_Device",
                "status": "active",
                "@type": "PlanInstance",
                "productCharacteristic": [
                    {
                        "name": "Original Financed Amount",
                        "value": "1199.99",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Number of Payment Installments",
                        "value": "36",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Remaining Financed Amount",
                        "value": "1033.34",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Number of Installments Invoiced",
                        "value": "5",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Monthly Installment",
                        "value": "33.33",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Installment ID",
                        "value": "639524829248292",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Description (English)",
                        "value": "Samsung Galaxy S23 Ultra",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Description (Spanish)",
                        "value": "Samsung Galaxy S23 Ultra",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Established On",
                        "value": "2023-12-13",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Status",
                        "value": "ACTIVE",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Promotional Amount Total",
                        "value": "0",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Promotional Monthly Amount",
                        "value": "0",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Number of Promo Discounts",
                        "value": "0",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Number of Promo Discounts Given",
                        "value": "0",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Current Promotional Discount Balance",
                        "value": "0",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Promo Description (English)",
                        "value": "",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "Promo Description (Spanish)",
                        "value": "",
                        "@type": "PlanInstanceField"
                    },
                    {
                        "name": "last_bill_date",
                        "value": "2024-05-11T02:46:54"
                    },
                    {
                        "name": "next_bill_date",
                        "value": "2024-06-11T00:00:00"
                    },
                    {
                        "name": "bill_thru_date",
                        "value": "2024-06-10T00:00:00"
                    }
                ]
            }
        }
    ]
}
Definitions

Each of the request parameters is detailed.

nametypedescriptionrequired
relatedPartyarrayRelated Entity reference. A related party defines party or party role linked to a specific entity.N
relatedParty.idstringClient specified account identifierN
relatedParty.@typestringRelated Party TypeN
productOrderItemarrayAn identified part of the order. A product order is decomposed into one or more order items.N
productOrderItem.idstringThe Aria assigned ID of the plan for this client plan instance idN
productOrderItem.quantityintegerThe number of units assigned to this instanceN
productOrderItem.@typestringType of orderItemN
productOrderItem.productobjectA product to be created defined by value or existing defined by reference.N
productOrderItem.product.idstringThe client defined ID of the plan instanceN
productOrderItem.product.namestringThe client defined ID of the plan on this instanceN
productOrderItem.product.descriptionstringThe name of the plan on this instanceN
productOrderItem.product.statusstringThe status code of the plan instanceN
productOrderItem.product.@typestringProduct typeN
productOrderItem.product. productCharacteristicarrayDescribes a given characteristic of an object or entity through a name/value pair.N
productOrderItem.product. productCharacteristic.namestringName of the characteristicN
productOrderItem.product. productCharacteristic.valuestringThe value of the characteristicN
productOrderItem.product. productCharacteristic.@typestringType of characteristicN
@typestringOrder typeN
productCharacteristic values
nametypedescriptionrequired
Original Financed AmountstringThe value that was assigned to this field on this plan instanceN
Number of Payment InstallmentsstringThe value that was assigned to this field on this plan instanceN
Remaining Financed AmountstringThe value that was assigned to this field on this plan instanceN
Number of Installments InvoicedstringThe value that was assigned to this field on this plan instanceN
Monthly InstallmentstringThe value that was assigned to this field on this plan instanceN
Installment IDstringThe value that was assigned to this field on this plan instanceN
Description (English)stringThe value that was assigned to this field on this plan instanceN
Description (Spanish)stringThe value that was assigned to this field on this plan instanceN
Established OnstringThe value that was assigned to this field on this plan instanceN
StatusstringThe value that was assigned to this field on this plan instanceN
Promotional Amount TotalstringThe value that was assigned to this field on this plan instanceN
Promotional Monthly AmountstringThe value that was assigned to this field on this plan instanceN
Number of Promo DiscountsstringThe value that was assigned to this field on this plan instanceN
Number of Promo Discounts GivenstringThe value that was assigned to this field on this plan instanceN
Current Promotional Discount BalancestringThe value that was assigned to this field on this plan instanceN
Promo Description (English)stringThe value that was assigned to this field on this plan instanceN
Promo Description (Spanish)stringThe value that was assigned to this field on this plan instanceN
last_bill_datedatetimeThe last date on which the plan instance was billedN
next_bill_datedatetimeThe next date on which the plan instance is scheduled to be billedN
bill_thru_datedatetimeThe date through which the plan instance has been billedN

Reviews